using TMPro;
using UnityEngine;

namespace WolfCarol.AvgToolkit.Localization
{
    [RequireComponent(typeof(TMP_Text))]
    public class LocalText : LocalBase<TMP_Text>
    {
        public override void OnLanguageChanged(string token)
        {
            if (m_component == null)
            {
                return;
            }

            m_component.text = token;
        }
    }
}

